﻿using A.M.Storage.Application;
using A.M.Storage.I_Infrastruecure;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using W.M.Materiel.Application.IServices;
using W.M.Materiel.Domain.Entity;
using W.M.Materiel.Infrastruecure.IRepository;
using W.M.Materiel.Infrastruecure.Repository;

namespace W.M.Materiel.Application.Services
{
    public class Product_configuration_classificationServices : BaseServices<product_configuration_classification, string>, IProduct_configuration_classificationServices
    {
        private readonly IProduct_configuration_classificationRepository product_Configuration_ClassificationRepository;

        public Product_configuration_classificationServices(IProduct_configuration_classificationRepository product_Configuration_ClassificationRepository) : base(product_Configuration_ClassificationRepository)
        {
            this.product_Configuration_ClassificationRepository = product_Configuration_ClassificationRepository;
        }

        /// <summary>
        /// 显示产品类别
        /// </summary>
        /// <returns></returns>
        public async Task<List<product_configuration_classification>> Getproduct_configuration_classification()
        {
            var list = await product_Configuration_ClassificationRepository.GetShowInforAsync();
            return list;
        }
    }
}
